<?php

namespace Trawind\Remotes\Contracts\Repositories\Finance\Setups;

use Prettus\Repository\Contracts\RepositoryInterface;

/**
 * Interface CurrencyRepository.
 *
 * @package namespace TrawindCloud\Contracts\Repositories\Finance\Setups;
 */
interface CurrencyRepository extends RepositoryInterface
{

    /**
     * get company currency
     * @param  int  $companyId
     * @return mixed
     */
    public function getCompanyCurrency(int $companyId);


    /**
     *  Get the currency conversion rate of the base currency and the subsidiary
     * @param  int  $currencyId
     * @param  int  $companyId
     * @return mixed
     */
    public function getCompanyExchangeRate(int $currencyId,int $companyId);
}
